home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 December / macformat-019.iso / Shareware City / Developers / Gnuplot 3.5 for Macintosh / docs / latextut / eg4.plt < prev    next >
Encoding:
Text File  |  1993-11-03  |  227 b   |  11 lines  |  [TEXT/MSWD]

  1. set terminal latex
  2. set output "eg4.tex"
  3. set format y "$%g$"
  4. set format x "$%.2f$"
  5. set title "This is $\sin(x)$"
  6. set xlabel "This is the $x$ axis"
  7. set ylabel "$\sin(x)$"
  8. set nokey
  9. set xtics -pi, pi/4
  10. plot [-pi:pi] [-1:1] sin(x)
  11.